﻿using Anke.SHManage.MSSQLDAL;
using Anke.SHManage.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anke.SHManage.BLL
{
   public class TelBookBLL
    {
        private TelBookDAL dal = new TelBookDAL();

        //查询电话流水
        public object GetTelBookList(int pageSize, int pageIndex, string phoneType, string name, string phone,
                                     E_StatisticsPermisson em, string selfWorkCode, string selfCenterID, string selfStationID, string eventDispatchCenterID)
        {
            return dal.GetTelBookList(pageSize, pageIndex, phoneType, name, phone,
                                        em, selfWorkCode, selfCenterID, selfStationID, eventDispatchCenterID);
        }

        //电话类型
        public object GetPhoneTypeList(string eventDispatchCenterID)
        {
            return dal.GetPhoneTypeList(eventDispatchCenterID);
        }
    }
}
